package com.tpf.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tpf.common.utils.PageUtils;
import com.tpf.mall.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author tianpengfei
 * @email pengfei_8080@163.com
 * @date 2020-04-03 23:30:30
 */
public interface CategoryService extends IService<CategoryEntity> {

	PageUtils queryPage(Map<String, Object> params);

	/**
	 * 获取分类数据，树形展示
	 *
	 * @return
	 */
	List<CategoryEntity> listWithTree();
}

